package com.bbzn.device.client.dataobject;

import java.io.Serializable;
import java.util.Date;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

@Getter
@Setter
@ToString
@NoArgsConstructor
public class FenceDevice implements Serializable {
    private Long id;

    /**
     * 围栏ID
     */
    private Long fenceId;

    /**
     * 设备IMEI
     */
    private String imei;

    /**
     * 状态【0：绑定成功，1：绑定中, 2：解绑中】
     */
    private Integer state;

    private Date createTime;

    private Date updateTime;

    /**
     * 0 未设置 1 设置中  2 设置完成
     */
    private Integer setStatus;

    /**
     * 删除状态
     */
    private Integer delStatus;

    public FenceDevice(Long fenceId, String imei, Integer state, Date createTime, Integer setStatus, Integer delStatus) {
        this.fenceId = fenceId;
        this.imei = imei;
        this.state = state;
        this.createTime = createTime;
        this.setStatus = setStatus;
        this.delStatus = delStatus;
    }

    private static final long serialVersionUID = 1L;
}